workaround for signal during grpc test framework teardown - #1691
Conversation
Tests themselves pass, but something in the teardown of the test framework does a double free. Unblock CI while we search for the root cause.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. 📝 WalkthroughWalkthroughThe gRPC integration test now captures the GoogleTest result and uses ChangesPost-teardown crash handling
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This localized test-only change is merge-ready after normal checks and review; no actionable merge-blocking risk remains. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@ci/utils/junit_helpers.py`:
- Around line 54-60: Update xml_all_passed with the requested type annotations,
using xml_path: str and -> bool. Expand its docstring to document the xml_path
parameter, the conditions for returning True, and that file or XML parsing
errors return False.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 10b14469-f02d-4d95-95d8-6683c1ee57ee
📒 Files selected for processing (3)
ci/run_ctests.shci/utils/junit_helpers.pycpp/tests/linear_programming/grpc/grpc_integration_test.cpp
CI Test Summary✅ All 31 test job(s) passed. |
|
🔔 Hi @anandhkb, this pull request has had no activity for 7 days. Please update or let us know if it can be closed. Thank you! If this is an "epic" issue, then please add the "epic" label to this issue. |
|
I traced this through the nightly path. Short version: it won't break nightly, but the shell-side heuristic opens a false-green hole that's wider than the bug it works around. Checked and fine
The concern
The masked window is narrower than I first assumed, to be fair: global It also leaves no telemetry. SuggestionKeep
Minor
|
ramakrishnap-nv
left a comment
There was a problem hiding this comment.
@tmckayus unblocking with a PR. but please take a look at the concerns above and coderabbit suggestion.
|
🔔 Hi @anandhkb, this pull request has had no activity for 7 days. Please update or let us know if it can be closed. Thank you! If this is an "epic" issue, then please add the "epic" label to this issue. |
std::_Exit already skips the gRPC/Abseil static destructor abort in GRPC_INTEGRATION_TEST; treating signal deaths as passes for every *_TEST binary would hide real exit-time failures. Signed-off-by: Trevor McKay <tmgithub1@gmail.com>
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |
|
/merge |
Tests themselves pass, but something in the teardown of the test framework does a double free. Unblock CI while we search for the root cause.
Best guess is something in the gRPC/abseil stack. Will investigate separately.